﻿using System.ComponentModel;

namespace EcoSystem
{
    /// <summary>
    /// 取号规则项类型枚举
    /// </summary>
    public enum TakeRuleType
    {
        //
        /// <summary>
        /// 固定值
        /// </summary>
        [Description("固定值")]
        FixedValue = 1,
        /// <summary>
        /// 随机数
        /// </summary>
        [Description("随机数")]
        RandNumber = 2,
        /// <summary>
        /// 流水号
        /// </summary>
        [Description("流水号")]
        SerialNumber = 3,
        /// <summary>
        /// 8位年月日
        /// </summary>
        [Description("8位年月日")]
        DateYYYYMMDD = 4,
        /// <summary>
        /// 4位年份
        /// </summary>
        [Description("4位年份")]
        DateYYYY = 5,
        /// <summary>
        /// 2位年
        /// </summary>
        [Description("2位年")]
        DateYY = 6,
        /// <summary>
        /// 2位月份
        /// </summary>
        [Description("2位月份")]
        DateMM = 7,
        /// <summary>
        /// 2位日期
        /// </summary>
        [Description("2位日期")]
        DateDD = 8,
        /// <summary>
        /// 6位时分秒
        /// </summary>
        [Description("6位时分秒")]
        TimeHHmmss = 9,
        /// <summary>
        /// 4位时分
        /// </summary>
        [Description("4位时分")]
        TimeHHmm = 10,
        /// <summary>
        /// 3位毫秒
        /// </summary>
        [Description("3位毫秒")]
        Timefff = 11,
        /// <summary>
        /// 12位时间戳
        /// </summary>
        [Description("12位时间戳")]
        TimeStamp12 = 12,
        /// <summary>
        /// 13位时间戳
        /// </summary>
        [Description("13位时间戳")]
        TimeStamp13 = 13,
        /// <summary>
        /// 业务编码
        /// </summary>
        [Description("13位时间戳")]
        BusinessCode = 14
    }

}
